	// DateUtils 日期工具
	var DateUtils=function(){}
	DateUtils.getYesterday=function(){
		var tomorrowDate=new Date();
	    tomorrowDate.setDate(tomorrowDate.getDate()-1);
	    return tomorrowDate
	}
	DateUtils.getToday=function(){
		var today=new Date();
		return today;
	}
	DateUtils.getStepDate=function(date,step){
		var stepDate=new Date()
		stepDate.setDate(date.getDate()+step);
	    return stepDate; 
	}
	DateUtils.getTomorrowDay=function(date){
		if(typeof date=="undefined"){
			var date=new Date(); 
		}
		var tomorrowDay=new Date(); 
	    tomorrowDay.setDate(date.getDate()+1);
	    return tomorrowDay; 
	}
	DateUtils.getAfterTomorrowDay=function(date){
		if(typeof date=="undefined"){
			var date=new Date(); 
		}
		var afterTomorrowDay=new Date();     
	    afterTomorrowDay.setDate(date.getDate()+2);
	    return afterTomorrowDay;
	}
	DateUtils.getWeekFirstDay=function(date){
		if(typeof date=="undefined"){
			var date=new Date(); 
		}
	    var weekFirstDay=new Date(date-(date.getDay()-1)*86400000);
	    return weekFirstDay;
	}
	DateUtils.getWeekLastDay=function(date){
		if(typeof date=="undefined"){
			var date=new Date(); 
		}
	    var weekFirstDay=new Date(date-(date.getDay()-1)*86400000);
	    var weekLastDay=new Date((weekFirstDay/1000+6*86400)*1000);
		return weekLastDay;   
	}
	
	DateUtils.getMonthFirstDay=function(date){     
		if(typeof date=="undefined"){
			var date=new Date(); 
		}    
	    var monthFirstDay=new Date(date.getFullYear(),date.getMonth(),1);     
	    return monthFirstDay;
	}
	
	DateUtils.getMonthLastDay=function(date){     
		if(typeof date=="undefined"){
			var date=new Date(); 
		}
	    var monthFirstDay=new Date(date.getFullYear(),date.getMonth()+1,1);     
	    var monthLastDay=new Date(monthFirstDay-86400000);     
		return monthLastDay;
	}
	DateUtils.formatToDateStr=function(date){
		var year=date.getFullYear();
		var month=Number(date.getMonth())+1
		var day=date.getDate();
		if(month<10){
			month="0"+month;
		}
		if(day<10){
			day="0"+day;
		}
		return year+"-"+month+"-"+day;
	}
	HTMLTurbo.util.DateUtils=DateUtils;
